test('toEqual object',()=>{
   let o={
       one:1
   };
   o['two']=2;
   expect(o).toEqual({one:1,two:2});
});


test('toEqual object 2',()=>{
    let o={
        a:1,
        b:[1,2,3],
        c:{a:1,b:2},
        d:[{a:1},{b:2}],
        //e:function(){},
        f:/\w+/,
        g:[true,false],
        h:[null,undefined],
        i:[],
        j:{}
    };

    expect(o).toEqual({
        a:1,
        b:[1,2,3],
        c:{a:1,b:2},
        d:[{a:1},{b:2}],
        //e:function(){},
        f:/\w+/,
        g:[true,false],
        h:[null,undefined],
        i:[],
        j:{}
    });
});
